import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import 'font-awesome/css/font-awesome.min.css'

Vue.use(ElementUI);

// 引入vue-UUID组件
import UUID from 'vue-uuid'
Vue.use(UUID)


Vue.config.productionTip = false

import plugin from './plugin/index.js'
Vue.use(plugin)

//图片裁剪
import VueCropper from 'vue-cropper'
Vue.use(VueCropper)

import request from './axios/index'
import globleJS from './common/global.js'

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$request=request
    Vue.prototype.$public=globleJS
    Vue.prototype.$bus = this
  }
}).$mount('#app')
